<?php

/**
 * @author PeoneEr
 * @package aion personal cabinet v1.0
 * @copyright Aion Factory Inc. 2010-2011
 * @license GNU v3
 * @link Ai-Factory.ru && http://code.google.com/p/aionprivateofficev2
 * @desc Класс конфигов
 * @author PeoneEr
 * @return array $configData
 */
require_once "core/application/controllers/MainController.php";

class Config extends Main_Controller {
	/**
	 * @var $APP_PATH хронит полный путь к проекту
	 */
	var $APP_PATH;
	
    function __construct() { 
        $this->APP_PATH = dirname(dirname(__FILE__));
    }

    
    /**
     *
     * change settings to your's
     * смените настройки на ваши
     */
    var $configData = array(
        'db_host' => "localhost",
        'db_user' => "aion",
        'db_pass' => "123456",
        'db_name_login' => "aion_test",
        'db_name_game' => "aion_test",
        'access_level' => "5",
        'login_server_host' => "localhost",
        'login_server_port' => "2106",
        'game_server_host' => "localhost",
        'game_server_port' => "7777",
        'site' => "http://aionv2.ru",
        'forum' => "http://aionv2.ru/forum",
        'currency' => "Горячие сердца балауров",
        'servername' => "Aion",
        'normalRates' => "x1",
        'premiumRates' => "x2",
        'vipRates' => 'x3'
    );

}
error_reporting (E_ALL ^ E_NOTICE);
$conf = new Config ();
define("TITLE_PROJECT", $conf->configData['servername'] . ":: Личный кабинет :: ", false);   //Заголовок проекта
?>
